// import com.alibaba.druid.sql.ast.SQLExpr;
// import com.alibaba.druid.sql.dialect.mysql.visitor.MySqlASTVisitor;
#pragma once
#include "MySqlStatementImpl.h"

class MySqlSetTransactionStatement : virtual public MySqlStatementImpl
{
public:
  BOOL_ptr global;

  BOOL_ptr session;
  BOOL_ptr local;

  string_ptr isolationLevel;
  string_ptr accessModel;

  SQLExpr_ptr policy;

  SHAREDOBJECT(MySqlSetTransactionStatement);
  void accept0(MySqlASTVisitor_ptr visitor);

  BOOL_ptr getGlobal();

  void setGlobal(BOOL_ptr global);

  string_ptr getIsolationLevel();

  void setIsolationLevel(string_ptr isolationLevel);

  string_ptr getAccessModel();

  void setAccessModel(string_ptr accessModel);

  BOOL_ptr getSession();

  void setSession(BOOL_ptr session);

  BOOL_ptr isLocal();

  void setLocal(BOOL_ptr local);

  SQLExpr_ptr getPolicy();

  void setPolicy(SQLExpr_ptr x);
};
